/**
 * 接口列表文件
 * auth代表接口是否需要token
 */
// interface apiParam{
// 	url: string,
// 	auth: boolean,
// 	method: string,
// 	isNprogress: boolean,
// 	cacheType?:string
// }



var api = {
	basedata: {
		find: {
			url: 'api/basedata/find',
			auth: false,
			method: 'POST',
			isNprogress: false,
		},
		//品牌
		car_enum_brandlist: {
			url: 'api/baseconfig/car_enum_brandlist',
			auth: false,
			method: 'POST',
			isNprogress: true,
		},
		//型号
		car_enum_model: {
			url: 'api/baseconfig/car_enum_model',
			auth: false,
			method: 'POST',
			isNprogress: true,
		},
		//公共车池枚举
		car_public_list: {
			url: 'api/baseconfig/car_public_list',
			auth: false,
			method: 'POST',
			isNprogress: true,
		},
		//车辆配置
		car_enum_config: {
			url: 'api/baseconfig/car_enum_config',
			auth: false,
			method: 'POST',
			isNprogress: true,
		},
		//门店列表
		store_list: {
			url: 'api/company/store/lists',
			auth: false,
			method: 'POST',
			isNprogress: true,
		},
		//下面几个数据
		lastindex: {
			url: 'api/company/Freezemerchant/index',
			auth: false,
			method: 'POST',
			isNprogress: true,
		},
		//免押列表
		pledgeList: {
			url: 'api/company/Freezemerchant/pledgeList',
			auth: false,
			method: 'POST',
			isNprogress: true,
		},
		//添加备注
		addcontent: {
			url: 'api/company/Freezemerchant/addcontent',
			auth: false,
			method: 'POST',
			isNprogress: true,
		},
		//更新冻结时间
		updateThawing: {
			url: 'api/company/Freezemerchant/updateThawing',
			auth: false,
			method: 'POST',
			isNprogress: true,
		},
		//扣款
		addDeduction: {
			url: 'api/company/Freezemerchant/addDeduction',
			auth: false,
			method: 'POST',
			isNprogress: true,
		},
		//可解冻金额
		thawable: {
			url: 'api/company/Freezemerchant/thawable',
			auth: false,
			method: 'POST',
			isNprogress: true,
		},
		thaw: {
			url: 'api/company/Freezemerchant/thaw',
			auth: false,
			method: 'POST',
			isNprogress: true,
		},
		//撤销扣款
		revokDeduction: {
			url: 'api/company/Freezemerchant/revokDeduction',
			auth: false,
			method: 'POST',
			isNprogress: true,
		},
		//kefu
		index: {
			url: 'api/baseconfig/index',
			auth: false,
			method: 'POST',
			isNprogress: false,
		},
		app_version: {
			url: 'api/baseconfig/company_app_version',
			auth: false,
			method: 'POST',
			isNprogress: false,
		},
		signedUrl: {
			url: 'api/upload/signedUrl',
			auth: false,
			method: 'POST',
			isNprogress: true,
		},

	},
	car: {
		car_list: {
			url: 'api/company/car/car_list',
			auth: false,
			method: 'POST',
			isNprogress: false,
		},
		car_add: {
			url: 'api/company/car/car_add',
			auth: false,
			method: 'POST',
			isNprogress: true,
		},
		info: {
			url: 'api/company/car/info',
			auth: false,
			method: 'POST',
			isNprogress: false,
		},
		car_edit: {
			url: 'api/company/car/car_edit',
			auth: false,
			method: 'POST',
			isNprogress: true,
		},
		get_car_price: {
			url: 'api/company/car/get_car_price',
			auth: false,
			method: 'POST',
			isNprogress: false,
		},
		set_car_price: {
			url: 'api/company/car/set_car_price',
			auth: false,
			method: 'POST',
			isNprogress: true,
		},

		car_enum_price: {
			url: 'api/baseconfig/car_enum_price',
			auth: false,
			method: 'POST',
			isNprogress: true,
		},
	},
	/** 用户 ↓ **/
	user: {
		login: {
			url: 'api/company/user/mobilelogin',
			auth: false,
			method: 'POST',
			isNprogress: true,
		},
		getUserinfo: {
			url: 'api/company/user/getUserinfo',
			auth: false,
			method: 'POST',
			isNprogress: false,
		},
		profile: {
			url: 'api/company/user/profile',
			auth: false,
			method: 'POST',
			isNprogress: true,
		},
		getUserapplyinfo: {
			url: 'api/company/user/getUserapplyinfo',
			auth: false,
			method: 'POST',
			isNprogress: false,
		},
		sms: {
			url: 'api/sms/send',
			auth: false,
			method: 'POST',
			isNprogress: true,
		},
		order_comment: {
			url: 'api/company/index/order_comment',
			auth: false,
			method: 'POST',
			isNprogress: false,
		},
	},
	index: {
		index: {
			url: 'api/company/index/index',
			auth: false,
			method: 'POST',
			isNprogress: false,
		},
	},
	store: {
		lists: {
			url: 'api/company/store/lists',
			auth: false,
			method: 'POST',
			isNprogress: false,
		},
		add: {
			url: 'api/company/store/add',
			auth: false,
			method: 'POST',
			isNprogress: true,
		},
		info: {
			url: 'api/company/store/info',
			auth: false,
			method: 'POST',
			isNprogress: false,
		},
		edit: {
			url: 'api/company/store/edit',
			auth: false,
			method: 'POST',
			isNprogress: true,
		},
	},
	coupon: {
		lists: {
			url: 'api/company/coupon/lists',
			auth: false,
			method: 'POST',
			isNprogress: false,
		},
		add: {
			url: 'api/company/coupon/add',
			auth: false,
			method: 'POST',
			isNprogress: true,
		},
		info: {
			url: 'api/company/coupon/info',
			auth: false,
			method: 'POST',
			isNprogress: false,
		},
		edit: {
			url: 'api/company/coupon/edit',
			auth: false,
			method: 'POST',
			isNprogress: true,
		},
		delete: {
			url: 'api/company/coupon/delete',
			auth: false,
			method: 'POST',
			isNprogress: true,
		},
	},
	money: {
		take_cash_config: {
			url: 'api/company/index/take_cash_config',
			auth: false,
			method: 'POST',
			isNprogress: false,
		},
		take_cash: {
			url: 'api/company/index/take_cash',
			auth: false,
			method: 'POST',
			isNprogress: true,
		},
		// 不用，提现审核日专
		take_cash_log: {
			url: 'api/company/index/take_cash_log',
			auth: false,
			method: 'POST',
			isNprogress: false,
		},
		// 不用，提现审核日专
		money_log: {
			url: 'api/company/index/money_log',
			auth: false,
			method: 'POST',
			isNprogress: false,
		},
	},
	staff: {
		lists: {
			url: 'api/company/staff/lists',
			auth: false,
			method: 'POST',
			isNprogress: false,
		},
		add: {
			url: 'api/company/staff/add',
			auth: false,
			method: 'POST',
			isNprogress: true,
		},
		info: {
			url: 'api/company/staff/info',
			auth: false,
			method: 'POST',
			isNprogress: false,
		},
		edit: {
			url: 'api/company/staff/edit',
			auth: false,
			method: 'POST',
			isNprogress: true,
		},

	},
	order: {
		status_each_number: {
			url: 'api/company/order/status_each_number',
			auth: false,
			method: 'POST',
			isNprogress: false,
		},
		lists: {
			url: 'api/company/order/lists',
			auth: false,
			method: 'POST',
			isNprogress: false,
		},
		info: {
			url: 'api/company/order/info',
			auth: false,
			method: 'POST',
			isNprogress: false,
		},
		cancel_config: {
			url: 'api/company/order/cancel_config',
			auth: false,
			method: 'POST',
			isNprogress: false,
		},
		cancel: {
			url: 'api/company/order/cancel',
			auth: false,
			method: 'POST',
			isNprogress: true,
		},
		get_car: {
			url: 'api/company/order/get_car',
			auth: false,
			method: 'POST',
			isNprogress: true,
		},
		back_config: {
			url: 'api/company/order/back_config',
			auth: false,
			method: 'POST',
			isNprogress: false,
		},
		back_car: {
			url: 'api/company/order/back_car',
			auth: false,
			method: 'POST',
			isNprogress: true,
		},
		comment_reply: {
			url: 'api/company/order/comment_reply',
			auth: false,
			method: 'POST',
			isNprogress: true,
		},

		kouya_type: {
			url: 'api/company/order/kouya_type',
			auth: false,
			method: 'POST',
			isNprogress: true,
		},
		kouya_apply: {
			url: 'api/company/order/kouya_apply',
			auth: false,
			method: 'POST',
			isNprogress: true,
		},
		kouya_unfreeze: {
			url: 'api/company/order/kouya_unfreeze',
			auth: false,
			method: 'POST',
			isNprogress: true,
		},
		refund_apply: {
			url: 'api/company/order/refund_apply',
			auth: false,
			method: 'POST',
			isNprogress: true,
		},

		kouya_log: {
			url: 'api/company/order/kouya_log',
			auth: false,
			method: 'POST',
			isNprogress: false,
		},


	},
	freezemer: {
		info: {
			url: 'api/company/Freezemerchant/info',
			auth: false,
			method: 'POST',
			isNprogress: false,
		},
		qrcode: {
			url: 'api/company/Freezemerchant/qrcode',
			auth: false,
			method: 'POST',
			isNprogress: false,
		}

	},
};
export default api;